package shuai.model;

import java.util.HashSet;
import java.util.Set;

public class Student {
	private int stuid;
	private String stuName;
	private Set<Course> courses=new HashSet<Course>();
	
	public Student() {
	}
	
	public Student(String stuName) {
		super();
		this.stuName = stuName;
	}

	public Student(String stuName, Set<Course> courses) {
		this.stuName = stuName;
		this.courses = courses;
	}
	public int getStuid() {
		return stuid;
	}
	public void setStuid(int stuid) {
		this.stuid = stuid;
	}
	public String getStuName() {
		return stuName;
	}
	public void setStuName(String stuName) {
		this.stuName = stuName;
	}
	public Set<Course> getCourses() {
		return courses;
	}
	public void setCourses(Set<Course> courses) {
		this.courses = courses;
	}
	
	
}
